package com.kgc.personprovider.service;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.personcommon.pojo.Department;
import org.springframework.stereotype.Service;

import java.util.Map;

public interface DeptService {
    public ResponseMsg getAll(Map<String, Object> map);
    public ResponseMsg getById(String id);
    public ResponseMsg getByPage(Map<String,Object> map);
    public ResponseMsg add(Department department);
    public ResponseMsg update(Department department);
    public ResponseMsg delete(String id);
}
